package com.yazi.mxz.gather.entity.repository;

import java.io.Serializable;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;


@Document
public class Product implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	@Id
	@Indexed
	private String barcode;		// 条码
	private String name;		// 名称
	private String spell;		// 拼音简写
	private String spec;		// 规格
	private String unit;		// 单位
	private String area;		// 产地
	private String price;		// 价格
	private String supplier;	// 供应商
	private String facCode;		// 厂商代码
	private String facName;		// 厂商名称
	private Boolean isCheckName;// 商品名是否确认过
	private String pic;			// 图片
	private String midPic;	// 中图
	private String bigPic;		// 大图
	private String source;		// 来源
	private String sysRemark;	// (系统)备注
	private String brandName;	// 品牌名称
	private String catName;		// 分类名称,各级间用","连接
	private Integer lockField; 	// 锁定(字段)类型
	public String getBarcode() {
		return barcode;
	}
	public void setBarcode(String barcode) {
		this.barcode = barcode;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSpell() {
		return spell;
	}
	public void setSpell(String spell) {
		this.spell = spell;
	}
	public String getSpec() {
		return spec;
	}
	public void setSpec(String spec) {
		this.spec = spec;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getArea() {
		return area;
	}
	public void setArea(String area) {
		this.area = area;
	}
	public String getPrice() {
		return price;
	}
	public void setPrice(String price) {
		this.price = price;
	}
	public String getSupplier() {
		return supplier;
	}
	public void setSupplier(String supplier) {
		this.supplier = supplier;
	}
	public String getFacCode() {
		return facCode;
	}
	public void setFacCode(String facCode) {
		this.facCode = facCode;
	}
	public String getFacName() {
		return facName;
	}
	public void setFacName(String facName) {
		this.facName = facName;
	}
	public Boolean getIsCheckName() {
		return isCheckName;
	}
	public void setIsCheckName(Boolean isCheckName) {
		this.isCheckName = isCheckName;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getSysRemark() {
		return sysRemark;
	}
	public void setSysRemark(String sysRemark) {
		this.sysRemark = sysRemark;
	}
	public String getPic() {
		return pic;
	}
	public void setPic(String pic) {
		this.pic = pic;
	}
	public String getBrandName() {
		return brandName;
	}
	public void setBrandName(String brandName) {
		this.brandName = brandName;
	}
	public String getCatName() {
		return catName;
	}
	public void setCatName(String catName) {
		this.catName = catName;
	}
	public String getBigPic() {
		return bigPic;
	}
	public void setBigPic(String bigPic) {
		this.bigPic = bigPic;
	}
	public Integer getLockField() {
		return lockField;
	}
	public void setLockField(Integer lockField) {
		this.lockField = lockField;
	}
	public String getMidPic() {
		return midPic;
	}
	public void setMidPic(String midPic) {
		this.midPic = midPic;
	}
	
}
